#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:6031)
#include <stdio.h>
#include <string.h>
int main()
{
	char arr[] = "This is a simple string";
	char* ret = strstr(arr, "simple");

	strncpy(ret, "sample", 6);
	puts(arr);
	return 0;
}